package com.demo.d_aspect_b_anno;

import org.springframework.stereotype.Service;

@Service("userServiceId")
public class UserServiceImpl implements UserService {
    @Override
    public void addUser() {
        System.out.println("d_aspect_b_anno addUser");
    }
    
    @Override
    public String updateUser() {
        System.out.println("d_aspect_b_anno updateUser");
        //int i=1/0;
        return "updateUser";
    }
    
    @Override
    public void deleteUser() {
        System.out.println("d_aspect_b_anno deleteUser");
    }
}
